﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace AppServices
{
	[DataContract]
	public class CustomersClass
	{
		public CustomersClass(Customers customers)
		{
			Address = customers.Address;
			CompanyName = customers.CompanyName;
			ContactName = customers.ContactName;
			CustomerID = customers.CustomerID;
			Phone = customers.Phone;
		}
		
		[DataMember]
		public string Address
		{
			get;
			set;
		}

		[DataMember]
		public string CompanyName
		{
			get;
			set;
		}

		[DataMember]
		public string ContactName
		{
			get;
			set;
		}

		[DataMember]
		public string CustomerID
		{
			get;
			set;
		}

		[DataMember]
		public string Phone
		{
			get;
			set;
		}
	}	
}
